public class Test {
    public static void main(String[] args) {
        Student student = new Student("阔南",20,"前端交互","女",1);
        Student student1  = new Student("小南",19);
        System.out.println(student);
        student.setAge(20);
        student.setName("阔南");
        student.setId(1);
        student.setSex("女");
        student.setClassName("前端交互");
        System.out.println(student.getName()+"是"+student.getClassName());


        GirlFriend girlFriend = new GirlFriend("爪琊","cos",20,111,"理想型");
        System.out.println(girlFriend);

        GirlFriend g = new GirlFriend();
        g.setImg("ss");
        g.setIdCard("52222522156326");
        g.setAddress("四川省 乐山市");
        System.out.println(g);


        UserService u = new UserServiceImpl();
        u.getUserName();
        System.out.println(u.getUserName());
        StudentService s = new UserServiceImpl();
        System.out.println(s.getStuent());

        Animal animal = new Cat();
        Animal animal1 = new Dog();
        Animal animal2 = new bird();
        animal1.sound();
        animal1.eat();
        animal.sound();
        animal.eat();
        animal2.sound();
        animal2.eat();









    }
}
